package cn.edu.guet.tts.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 车次管理表
 * </p>
 *
 * @author test
 * @since 
 */

@TableName("tb_train")
@ApiModel(value = "TbTrain对象", description = "车次管理表")
@Data
public class TbTrain implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键，车次ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("车次编号")
      private String trainNumber;

      @ApiModelProperty("起始站")
      private String startStation;

      @ApiModelProperty("终点站")
      private String endStation;

      @ApiModelProperty("发车时间")
      private String departureTime;

      @ApiModelProperty("到达时间")
      private String arrivalTime;

      @ApiModelProperty("车票类型")
      private String ticketType;

      @ApiModelProperty("车票价格")
      private double fee;


}
